package com.yyys.web.entity;

import org.hibernate.annotations.Type;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by zhengsenwen on 2017/9/7.
 */

@Entity
@Table(name = "[FLOW_DRTransInfo]")
public class DRTransInfo implements Serializable {
    private static final Long serialVersionUID = 1L;

    private Integer occuId;
    private Integer drId;
    private Integer eeId;
    @Type(type = "datetime")
    private String occuTime;
    @Type(type = "tinyint")
    private Integer inOrOut;

    @Id
    @Column(name = "OccuID", nullable = false)
    public Integer getOccuId() {
        return occuId;
    }

    public void setOccuId(Integer occuId) {
        this.occuId = occuId;
    }

    @Column(name = "DRID", nullable = false)
    public Integer getDrId() {
        return drId;
    }

    public void setDrId(Integer drId) {
        this.drId = drId;
    }

    @Column(name = "EEID", nullable = true)
    public Integer getEeId() {
        return eeId;
    }

    public void setEeId(Integer eeId) {
        this.eeId = eeId;
    }

    @Column(name = "OccuTime", nullable = false)
    public String getOccuTime() {
        return occuTime;
    }

    public void setOccuTime(String occuTime) {
        this.occuTime = occuTime;
    }

    @Column(name = "InOrOut", nullable = true)
    public Integer getInOrOut() {
        return inOrOut;
    }

    public void setInOrOut(Integer inOrOut) {
        this.inOrOut = inOrOut;
    }
}
